﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Users_AddMoneyResult : System.Web.UI.Page
{
    private string _html;
    public string Html
    {
        set { _html = value; }
        get { return _html; }
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            ss();
        }
    }
    private void ss()
    {
        if(Request.QueryString["t"]!=null)
        {
            string ret = Request.QueryString["t"].ToString();
            string key = BLL.Common.GenerateKey();
             ret = BLL.Common.DecryptString(ret, key);
             string[] temp = ret.Split('|');
             switch (temp[0])
             {
                 case "1":
                     Html="恭喜你，充值成功";
                     break;
                 case "2":
                     Html="充值失败";
                     break;
                 case "3":
                     Html="支付成功，本地更新失败";
                     break;

             }             
        }
        
    }
}
